package cn.pconline.autoclub.entity;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
/**
 * 地区实体类
 * @author zhoutianhuai
 *
 * 2015年4月10日 下午6:02:32
 */
@Entity(tableName = "ac_area")
public class Area {
	 /**
     * 地区ID
     */
    @Id
    @Column(name = "id")
    private long id;
    /**
     * 地区名称
     */
    @Column(name = "area_name")
    private String areaName;
    /**
     * 地区全称
     */
    @Column(name = "full_name")
    private String fullName;
    /**
     * 所属地区父ID
     */
    @Column(name = "parent_id")
    private long parentId;
    /**
     * 地区编码
     */
    @Column(name = "area_code")
    private long areaCode;
    /**
     * 地区顺序
     */
    @Column(name = "area_seq")
    private long areaSeq;
    /**
     * 地区级别
     */
    @Column(name = "area_level")
    private long areaLevel;
    /**
     * 地区名称大写首字母
     */
    @Column(name = "initial")
    private String initial;
    /**
     * 是否热门城市
     */
    @Column(name = "is_hot")
    private int isHot;
    
    /**热门**/
    public static final int HOT_YES = 1;
    /**非热门**/
    public static final int HOT_NO = 0;
    
    /**地区级别 1-省 2-市 3-区**/
    public static final long AREA_LEVEL1 = 1;
    public static final long AREA_LEVEL2 = 2;
    public static final long AREA_LEVEL3 = 3;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}


	public long getParentId() {
		return parentId;
	}
	public void setParentId(long parentId) {
		this.parentId = parentId;
	}
	public long getAreaCode() {
		return areaCode;
	}
	public void setAreaCode(long areaCode) {
		this.areaCode = areaCode;
	}
	public long getAreaSeq() {
		return areaSeq;
	}
	public void setAreaSeq(long areaSeq) {
		this.areaSeq = areaSeq;
	}
	public long getAreaLevel() {
		return areaLevel;
	}
	public void setAreaLevel(long areaLevel) {
		this.areaLevel = areaLevel;
	}
	public String getInitial() {
		return initial;
	}
	public void setInitial(String initial) {
		this.initial = initial;
	}
	public int getIsHot() {
		return isHot;
	}
	public void setIsHot(int isHot) {
		this.isHot = isHot;
	}

    
    
}
